package com.td.module.cooperative.controller.admin.partner.vo;

import com.td.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.td.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 合作伙伴分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PartnerPageReqVO extends PageParam {

    @ApiModelProperty(value = "伙伴名称", example = "JinRui")
    private String partnerName;

    @ApiModelProperty(value = "伙伴类型", example = "1")
    private Integer partnerType;

    @ApiModelProperty(value = "伙伴简介")
    private String partnerIntro;

    @ApiModelProperty(value = "伙伴图片")
    private String partnerImg;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
